package com.Atao.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@NoArgsConstructor
@AllArgsConstructor
@Data
public class AiMessage {

    private Integer id;//主键ID

    @NotEmpty
    private Integer userId; //用户ID

    @NotEmpty
    private String userMessage;//用户消息

    private String aiMessage;//AI消息

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;//创建时间

}
